pp108 : Testing Web Service Operations

Testing Web Service Operations

This topic describes the procedure to test Web service operations.

Before you begin this task:
You must have created and published the Web service operations.

Testing Web service operations helps you to know whether a Web service operation works properly or not. It is better to check the functionality of a Web service operation before using it in run time.

Testing is done using a SOAP request. It checks whether the Web service operation generates correct SOAP request and response, and properly tries to send and receive SOAP messages. The feature facilitates composing and editing the SOAP request, if required.

  1. In Workspace Documents (Explorer), open <solution> > <project> > > , right-click (<Web service operation>) and select Test Web Service Operation. The Operation Test Tool window appears, displaying the SOAP request for that Web service operation.
  2. Depending upon the data that the request needs to process, enter the values replacing PARAMETER in the SOAP request.
  3. Click Invoke. The request and response appear in the Result Messages area.
  4. Click the response message to check if the retrieved details are accurate.
  5. Click Clear Messages to clear the request and response messages from the Result Messages area.
  6. Repeat the test with modified parameters, if required.

You have tested the Web service operation.

Related tasks

Viewing the WSDL of a Web Service Operation
Generating Custom Web Service Operations on Database Details
Generating Standard Web Service Operations on a Database
Generating Web Service Operations on a Database Metadata
Generating Web Service Operations on a WS-AppServer Package
Generating Web Service Operations on Custom Logic
Generating Web Service Operations on Java Classes
Updating Web Services

Related reference

Exploring Web Service and its Child Entities

Related information

Working with Web Service Interface Explorer